home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global move, i, j, k, T
- set i to (i + 1) mod 8
- set j to i mod 4
- set k to i mod 2
- set BLENDER to [789 + k, 791]
- set the cursor of sprite 48 to BLENDER
- if move = 0 then
- if rollOver(41) then
- puppetSprite(41, 1)
- set the castNum of sprite 41 to the number of cast (774 + k)
- else
- puppetSprite(41, 0)
- end if
- if rollOver(42) then
- puppetSprite(42, 1)
- set the castNum of sprite 42 to the number of cast (780 + k)
- else
- puppetSprite(42, 0)
- end if
- if rollOver(43) then
- puppetSprite(43, 1)
- if the castNum of sprite 43 = 780 then
- set the castNum of sprite 43 to the number of cast 782
- else
- set the castNum of sprite 43 to the number of cast 780
- end if
- else
- puppetSprite(43, 0)
- end if
- if rollOver(44) then
- puppetSprite(44, 1)
- set the castNum of sprite 44 to the number of cast (750 + j)
- else
- puppetSprite(44, 0)
- end if
- if rollOver(45) then
- puppetSprite(45, 1)
- set the castNum of sprite 45 to the number of cast (758 + j)
- else
- puppetSprite(45, 0)
- end if
- if rollOver(46) then
- puppetSprite(46, 1)
- set the castNum of sprite 46 to the number of cast (754 + j)
- else
- cursor(0)
- puppetSprite(46, 0)
- end if
- if rollOver(47) then
- puppetSprite(47, 1)
- set the castNum of sprite 47 to the number of cast (762 + j)
- else
- puppetSprite(47, 0)
- end if
- set the keyDownScript to "checkKey"
- end if
- if move = 1 then
- repeat with T = 48 down to 41
- puppetSprite(T, 0)
- end repeat
- set move to 0
- end if
- if the movieName = "JUSTIN" then
- puppetSprite(38, 1)
- if random(8) < 2 then
- set vPos to the locV of sprite 38
- set vPos to vPos + random(40)
- set the locV of sprite 38 to vPos mod 480
- end if
- if random(8) < 2 then
- set hPos to the locH of sprite 38
- set hPos to hPos + random(10)
- set the locH of sprite 38 to hPos mod 640
- end if
- set the visible of sprite 38 to 1
- if random(20) < 2 then
- set the visible of sprite 38 to 0
- end if
- if j = 1 then
- if random(8) < 2 then
- set the castNum of sprite 38 to 224 + random(22)
- end if
- end if
- updateStage()
- end if
- end
-